cbuffer cbPerScene : register( b0 )
{
    row_major matrix g_mProjView : packoffset( c0 );
};

struct VS_INPUT
{
    float4 Position : POSITION;
    float4 Color : COLOR0;
};

struct VS_OUTPUT
{
    float4 Position : SV_Position;
    float4 Color : COLOR0;
};

struct PS_OUTPUT
{
	float4 Color : SV_Target;
};

VS_OUTPUT mainVS( in VS_INPUT input )
{
    VS_OUTPUT output;

    output.Position = mul(input.Position, g_mProjView);
    output.Color = input.Color;

    return output;
}

PS_OUTPUT mainPS( in VS_OUTPUT input )
{
	PS_OUTPUT output;
	
	output.Color = input.Color;
	
    return output;
}
